import Application from 'koa';
import Koa from 'koa';
import { collectRoutes } from './routes';

const App: Application = new Koa();
//路由收集
App.use(collectRoutes())

App.listen(3000, () => {
    console.log("🚗 🚗 🚗 App started!!!")
})